package com.framework.spring.lookup;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Lookup;
import org.springframework.stereotype.Component;

@Component
@Slf4j(topic = "e")
public abstract class LD {

	public void printInfo() {
		LB lb1 = process();
		log.info("lb-[{}]", lb1);
	}

	@Lookup
	protected abstract LB process();
}
